package com.yellow.orderservice.service;

import com.yellow.orderservice.entity.Route;
import com.yellow.orderservice.feign.RouteFeignService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @author: hy
 * @create: 2024-04-15
 */
@Service
public class RouteServiceImpl implements RouteService{
    @Resource
    private RouteFeignService routeFeignService;
    @Override
    public Route findByOrderId(int orderId) {

        return routeFeignService.findByOrderId(orderId);
    }
}
